import '@/assets/iconfont/iconfont.css'
import 'vant/es/toast/style'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

import { Cell, CellGroup, Popup, Field, Tab, Tabs, Dialog, Toast } from 'vant'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(Cell)
app.use(CellGroup)
app.use(Popup)
app.use(Field)
app.use(Tab)
app.use(Tabs)
app.use(Dialog)
app.use(Toast)

app.mount('#app')